package org.bookshare.validator.report;


/**
 * A class which generates additional data that can be used as part of a report.
 * @author Reuben Firmin
 */
public interface ReportGenerator {

    /**
     * Get the key that the data has been added to the report under.
     * @return never null.
     */
    String getModelKey();

    /**
     * Generate additional data, and add it to the reporting object.
     * @param report The reporting object.
     */
    void addToReport(ValidationMetadata report);
}
